﻿using Newtonsoft.Json;

namespace Devonline.Http.AntDesign
{
    /// <summary>
    /// error display type： 0 silent; 1 message.warn; 2 message.error; 4 notification; 9 page
    /// </summary>
    public enum ErrorDisplayType
    {
        /// <summary>
        /// silent
        /// </summary>
        [JsonProperty("silent")]
        Silent = 0,
        /// <summary>
        /// warn
        /// </summary>
        [JsonProperty("warn")]
        Warn = 1,
        /// <summary>
        /// error
        /// </summary>
        [JsonProperty("error")]
        Error = 2,
        /// <summary>
        /// notification
        /// </summary>
        [JsonProperty("notification")]
        Notification = 4,
        /// <summary>
        /// page
        /// </summary>
        [JsonProperty("page")]
        Page = 9
    }
}
